<div class="panel panel-primary">
	<div class="panel-heading"><h3 class="panel-title">哇咔后台管理系统--系统设置</h3></div>
	<div class="panel-body">系统设置功能说明</div>
	<table class="table table-bordered table-hover">
		<thead>
		<tr>
			<th>设定项目</th>
			<th>设定关键词</th>
			<th>设定关键值</th>
			<th>操作设定</th>
		</tr>
		</thead>
		<tbody>
		<tr>
			<td>设定超级管理员密码</td>
			<td>admin</td>
			<td>********</td>
			<td my-widget="setting" for-key="admin" for-title="设定超级管理员密码"></td>
		</tr>
		<tr>
			<td>description</td>
			<td>{{http.description}}</td>
			<td>repository</td>
			<td>{{http.repository}}</td>
		</tr>
		</tbody>
	</table>
</div>

<script type="text/ng-template" id="settingModalContent.html">
	<div class="modal-header">
		<h4 class="modal-title"><span class="fa fa-star"></span> {{data.ctitle}}</h4>
	</div>
	<div class="modal-body">
		<ng-form name="nameDialog" novalidate role="form">
			<div class="form-group input-group">
				<label class="control-label" for="course">Name:</label>
				<input type="text" class="form-control" name="cvalue" ng-model="data.cvalue" ng-keyup="hitEnter($event)" required>
				<span class="help-block">Enter your full name, first &amp; last.</span>
			</div>
		</ng-form>
	</div>
	<div class="modal-footer">
		<button type="button" class="btn btn-default" ng-click="cancel()">取消关闭</button>
		<button type="button" class="btn btn-primary" ng-click="save()" ng-disabled="(nameDialog.$dirty && nameDialog.$invalid) || nameDialog.$pristine">保存设定</button>
	</div>
</script>